package com.songcha.module_mine.ui.fragment.message.message_notify

import com.songcha.library_base.mvvm.base.BaseRepository
import com.songcha.library_network.bean.BaseBean
import com.songcha.module_mine.api.MineApiManager
import com.songcha.module_mine.api.MineApiService
import com.songcha.module_mine.bean.SystemMessageDataBean
import io.reactivex.Observable

class MessageNotifyRepository:BaseRepository() {
    fun getSystemMessage():Observable<SystemMessageDataBean>{
        return MineApiManager.api.getSystemMessage()
    }

    fun updateSystemMessageReadTime():Observable<BaseBean>{
        return MineApiManager.api.updateSystemMessageReadTime()
    }
}